package cn.sofwin.day0126.homework.Car;

public abstract class MotoVehicle {
    // 车牌号
    private String No;

    // 车型（轿车、客车）
    private String Type;

    // 车辆颜色
    private String Color;

    // 里程
    private double Mileage;

    public MotoVehicle(String no) {
        No = no;
    }

    public void setType(String type) {
        Type = type;
    }

    public abstract double CalcRent(int days);
}
